package com.glory.wxmemsicpda.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * FileName: SheetInfoEntity
 * Author: XJH
 * Date: 2020/8/29 16:58
 * Description:
 * History:
 */
public class SheetInfoBean implements Serializable {
    private String OBJECTRRN;
    private String ORGRRN;
    private String CREATED;
    private String CREATEDBY;
    private String UPDATED;
    private String UPDATEDBY;
    private String NAME;
    private String DESCRIPTION;
    private String STATUS;
    private String COTEGORY;
    private String TYPE;
    private String EQUIPMENTID;
    private String EQUIPMENTTYPE;
    private String STANDARDTIME;
    private String CHECKCOUNT;
    private String STYLE;
    private String STEPNAME;
    private String GROUP1;
    private String GROUP2;
    private String GROUP3;
    private String RESERVED1;
    private String RESERVED3;
    private String CHECKDATE;
    private String UPDATEBY;
    private LotBean LOT;
    private List<SheetCheckTableLineEntity> SHEETCHECKTABLELINES; //每一个对象存有多个参数值，一个参数名对应多个参数值

    public LotBean getLOT() {
        return LOT;
    }

    public void setLOT(LotBean LOT) {
        this.LOT = LOT;
    }

    public String getGROUP3() {
        return GROUP3 == null ? "" : GROUP3;
    }

    public void setGROUP3(String GROUP3) {
        if (GROUP3 == null || GROUP3.equals("")){
            this.GROUP3 = "";
        }else if (GROUP3.equals("调机点检")){
            this.GROUP3 = "Re_Inspect";
        }else if (GROUP3.equals("改机点检")){
            this.GROUP3 = "Pe_Inspect";
        }
    }

    public String getRESERVED3() {
        return RESERVED3 == null ? "" : RESERVED3;
    }

    public void setRESERVED3(String RESERVED3) {
        this.RESERVED3 = RESERVED3;
    }

    public String getGROUP2() {
        if (GROUP2 == null){
            return "";
        }else if (GROUP2.equals("DayShift")){
            return "白班";
        }else if (GROUP2.equals("NightShift")){
            return "夜班";
        }else {
            return GROUP2;
        }

    }

    public void setGROUP2(String GROUP2) {
        this.GROUP2 = GROUP2;
    }

    public String getRESERVED1() {
        return RESERVED1 == null ? "" : RESERVED1;
    }

    public void setRESERVED1(String RESERVED1) {
        this.RESERVED1 = RESERVED1;
    }

    public String getCHECKDATE() {
        return CHECKDATE == null ? "" : CHECKDATE;
    }

    public void setCHECKDATE(String CHECKDATE) {
        this.CHECKDATE = CHECKDATE;
    }

    public String getUPDATEBY() {
        return UPDATEBY == null ? "" : UPDATEBY;
    }

    public void setUPDATEBY(String UPDATEBY) {
        this.UPDATEBY = UPDATEBY;
    }

    public String getGROUP1() {
        if (GROUP1 == null){
            return "";
        }else if (GROUP1.equals("Daily_Change")){
            return "交接班检";
        }else if (GROUP1.equals("Daily_Inspect")){
            return "巡检";
        }else {
            return GROUP1;
        }
    }

    public void setGROUP1(String GROUP1) {
        this.GROUP1 = GROUP1;
    }

    public String getSTEPNAME() {
        return STEPNAME == null ? "" : STEPNAME;
    }

    public void setSTEPNAME(String STEPNAME) {
        this.STEPNAME = STEPNAME;
    }

    public String getOBJECTRRN() {
        return OBJECTRRN == null ? "" : OBJECTRRN;
    }

    public void setOBJECTRRN(String OBJECTRRN) {
        this.OBJECTRRN = OBJECTRRN;
    }

    public String getORGRRN() {
        return ORGRRN == null ? "" : ORGRRN;
    }

    public void setORGRRN(String ORGRRN) {
        this.ORGRRN = ORGRRN;
    }

    public String getCREATED() {
        return CREATED == null ? "" : CREATED;
    }

    public void setCREATED(String CREATED) {
        this.CREATED = CREATED;
    }

    public String getCREATEDBY() {
        return CREATEDBY == null ? "" : CREATEDBY;
    }

    public void setCREATEDBY(String CREATEDBY) {
        this.CREATEDBY = CREATEDBY;
    }

    public String getUPDATED() {
        return UPDATED == null ? "" : UPDATED;
    }

    public void setUPDATED(String UPDATED) {
        this.UPDATED = UPDATED;
    }

    public String getUPDATEDBY() {
        return UPDATEDBY == null ? "" : UPDATEDBY;
    }

    public void setUPDATEDBY(String UPDATEDBY) {
        this.UPDATEDBY = UPDATEDBY;
    }

    public String getNAME() {
        return NAME == null ? "" : NAME;
    }

    public void setNAME(String NAME) {
        this.NAME = NAME;
    }

    public String getDESCRIPTION() {
        return DESCRIPTION == null ? "" : DESCRIPTION;
    }

    public void setDESCRIPTION(String DESCRIPTION) {
        this.DESCRIPTION = DESCRIPTION;
    }

    public String getSTATUS() {
        return STATUS == null ? "" : STATUS;
    }

    public void setSTATUS(String STATUS) {
        this.STATUS = STATUS;
    }

    public String getCOTEGORY() {
        return COTEGORY == null ? "" : COTEGORY;
    }

    public void setCOTEGORY(String COTEGORY) {
        this.COTEGORY = COTEGORY;
    }

    public String getTYPE() {
        return TYPE == null ? "" : TYPE;
    }

    public void setTYPE(String TYPE) {
        this.TYPE = TYPE;
    }

    public String getEQUIPMENTID() {
        return EQUIPMENTID == null ? "" : EQUIPMENTID;
    }

    public void setEQUIPMENTID(String EQUIPMENTID) {
        this.EQUIPMENTID = EQUIPMENTID;
    }

    public String getEQUIPMENTTYPE() {
        return EQUIPMENTTYPE == null ? "" : EQUIPMENTTYPE;
    }

    public void setEQUIPMENTTYPE(String EQUIPMENTTYPE) {
        this.EQUIPMENTTYPE = EQUIPMENTTYPE;
    }

    public String getSTANDARDTIME() {
        return STANDARDTIME == null ? "" : STANDARDTIME;
    }

    public void setSTANDARDTIME(String STANDARDTIME) {
        this.STANDARDTIME = STANDARDTIME;
    }

    public String getCHECKCOUNT() {
        return CHECKCOUNT == null ? "" : CHECKCOUNT;
    }

    public void setCHECKCOUNT(String CHECKCOUNT) {
        this.CHECKCOUNT = CHECKCOUNT;
    }

    public String getSTYLE() {
        return STYLE == null ? "" : STYLE;
    }

    public void setSTYLE(String STYLE) {
        this.STYLE = STYLE;
    }

    public List<SheetCheckTableLineEntity> getSHEETCHECKTABLELINES() {
        if (SHEETCHECKTABLELINES == null) {
            return new ArrayList<>();
        }
        return SHEETCHECKTABLELINES;
    }

    public void setSHEETCHECKTABLELINES(List<SheetCheckTableLineEntity> SHEETCHECKTABLELINES) {
        this.SHEETCHECKTABLELINES = SHEETCHECKTABLELINES;
    }

    public static class SheetCheckTableLineEntity implements Serializable {
        private String OBJECTRRN;
        private String ORGRRN;
        private String NAME;
        private String DESCRIPTION;
        private String VALUE;
        private String MINVALUE;
        private String MAXVALUE;
        private String DATATYPE;
        private String RESERVED2;//参数名称
        private String RESERVED8;
        private String COMMENTS;

        public String getRESERVED8() {
            return RESERVED8 == null ? "" : RESERVED8;
        }

        public void setRESERVED8(String RESERVED8) {
            this.RESERVED8 = RESERVED8;
        }

        public String getCOMMENTS() {
            return COMMENTS == null ? "" : COMMENTS;
        }

        public void setCOMMENTS(String COMMENTS) {
            this.COMMENTS = COMMENTS;
        }

        public String getRESERVED2() {
            return RESERVED2 == null ? "" : RESERVED2;
        }

        public void setRESERVED2(String RESERVED2) {
            this.RESERVED2 = RESERVED2;
        }

        public String getOBJECTRRN() {
            return OBJECTRRN == null ? "" : OBJECTRRN;
        }

        public void setOBJECTRRN(String OBJECTRRN) {
            this.OBJECTRRN = OBJECTRRN;
        }

        public String getORGRRN() {
            return ORGRRN == null ? "" : ORGRRN;
        }

        public void setORGRRN(String ORGRRN) {
            this.ORGRRN = ORGRRN;
        }

        public String getNAME() {
            return NAME == null ? "" : NAME;
        }

        public void setNAME(String NAME) {
            this.NAME = NAME;
        }

        public String getDESCRIPTION() {
            return DESCRIPTION == null ? "" : DESCRIPTION;
        }

        public void setDESCRIPTION(String DESCRIPTION) {
            this.DESCRIPTION = DESCRIPTION;
        }

        public String getVALUE() {
            return VALUE == null ? "" : VALUE;
        }

        public void setVALUE(String VALUE) {
            this.VALUE = VALUE;
        }

        public String getMINVALUE() {
            return MINVALUE == null ? "" : MINVALUE;
        }

        public void setMINVALUE(String MINVALUE) {
            this.MINVALUE = MINVALUE;
        }

        public String getMAXVALUE() {
            return MAXVALUE == null ? "" : MAXVALUE;
        }

        public void setMAXVALUE(String MAXVALUE) {
            this.MAXVALUE = MAXVALUE;
        }

        public String getDATATYPE() {
            return DATATYPE == null ? "" : DATATYPE;
        }

        public void setDATATYPE(String DATATYPE) {
            this.DATATYPE = DATATYPE;
        }
    }

    public class LotBean {
        private String STEPNAME;
        private String PROCESSNAME;
        private String PARTTYPE;
        private String CUSTOMERCODE;
        private String RECIPENAME;
        private String MAINQTY;

        public String getSTEPNAME() {
            return STEPNAME == null ? "" : STEPNAME;
        }

        public void setSTEPNAME(String STEPNAME) {
            this.STEPNAME = STEPNAME;
        }

        public String getPROCESSNAME() {
            return PROCESSNAME == null ? "" : PROCESSNAME;
        }

        public void setPROCESSNAME(String PROCESSNAME) {
            this.PROCESSNAME = PROCESSNAME;
        }

        public String getPARTTYPE() {
            return PARTTYPE == null ? "" : PARTTYPE;
        }

        public void setPARTTYPE(String PARTTYPE) {
            this.PARTTYPE = PARTTYPE;
        }

        public String getCUSTOMERCODE() {
            return CUSTOMERCODE == null ? "" : CUSTOMERCODE;
        }

        public void setCUSTOMERCODE(String CUSTOMERCODE) {
            this.CUSTOMERCODE = CUSTOMERCODE;
        }

        public String getRECIPENAME() {
            return RECIPENAME == null ? "" : RECIPENAME;
        }

        public void setRECIPENAME(String RECIPENAME) {
            this.RECIPENAME = RECIPENAME;
        }

        public String getMAINQTY() {
            return MAINQTY == null ? "" : MAINQTY;
        }

        public void setMAINQTY(String MAINOTY) {
            this.MAINQTY = MAINOTY;
        }
    }
}
